/*
 * @Author: your name
 * @Date: 2021-03-18 21:33:43
 * @LastEditTime: 2021-03-18 21:51:12
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \tofolls\topfullstack\server\apps\admin\src\users\users.controller.ts
 */
import { User } from './../../../../libs/db/src/models/user.model';
import { Controller } from '@nestjs/common';
import { Crud } from 'nestjs-mongoose-crud'
import { InjectModel } from 'nestjs-typegoose';

@Crud({
    model: User 
})
@Controller('users')

export class UsersController {
    
    constructor(@InjectModel(User) private readonly model){ }
}
